function t = plotPatterns(patterns)

    cantPatterns = length(patterns(1, :));

    X = patterns(1, :)';
    Y = patterns(2, :)';
    Z = zeros(cantPatterns, 1);
    for t = 1:cantPatterns
        Z(t) = zFunction(patterns(:, t));
    end
    
    plot3(X, Y, Z,'*');


end

